package com.cskaoyan.service;

import com.cskaoyan.bean.BO.AdminCouponBO;
import com.cskaoyan.bean.PO.MarketCoupon;
import com.cskaoyan.bean.PO.MarketCouponUser;
import com.cskaoyan.bean.common.BasePageInfo;
import com.cskaoyan.bean.common.CommonData;

public interface AdminCouponService {
    CommonData<MarketCoupon> queryCouponList(BasePageInfo info, String name, Short type, Short status);

    AdminCouponBO insertCoupon(AdminCouponBO marketCoupon);

    MarketCoupon updateCoupon(MarketCoupon marketCoupon);

    int deleteCoupon(MarketCoupon marketCoupon);

    MarketCoupon queryCouponById(Integer id);

    CommonData<MarketCouponUser> queryCouponUserList(BasePageInfo info, Integer couponId, Integer userId, Short status);
}
